//乘骑坐骑 {"序列":1}
// @ts-ignore
export async function execute(client_id,message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    let index = message_json["序列"]-1;
    let mounts_data = characters["坐骑列表"][index];
    if (mounts_data === undefined) {
        ClientUtils.send_basic_prompt(client_id, "坐骑不存在");
        return;
    }
    mounts_data["参战信息"]=1;
    mounts_data["index"]=index;
    characters["坐骑"]=mounts_data;
    ClientUtils.send_client_message(client_id,7,"#Y骑乘坐骑成功！");
    //刷新角色信息
    ClientUtils.send_client_message(client_id,33,characters);
    ClientUtils.send_client_message(client_id,60,characters["坐骑"]);
    G.MapUtils.update_mounts(characters["id"]);
}